package summer_vacation.qiuyangyang;
import java.util.Scanner;
/**
 * Created by Administrator on 2015/8/26 0026.
 */
public class Assignment_16 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        int m;
        System.out.println("请输入一个数：");
        int a=in.nextInt();
        System.out.println("请输入一个数：");
        int b=in.nextInt();
        if (a*a+b*b>100){
            m=(a*a+b*b)/100;
        }else{
            m=a+b;
        }
        System.out.println("其结果为"+m);
    }
}
